import { request } from './config'
//  获取左侧路由权限

export const getMenus = (params) => {
  return request.get({
    url: '/login/getRouters',
    params
  })
}
// 按钮组件是否存在
export const getuserinfo = (params) => {
  return request.get({
    url: '/login/info',
    data: JSON.stringify(params)
  })
}


